home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: comp.lang.c
- Subject: Re: is this string a number?
- Date: Wed, 17 Jan 1996 01:23:12 GMT
- Organization: Netcom
- Message-ID: <30fc4f52.82046272@nntp.ix.netcom.com>
- References: <4dbogk$763@jupiter.planet.net> <4dh4vf$rdc@news.informix.com>
- NNTP-Posting-Host: ix-dc13-28.ix.netcom.com
- X-NETCOM-Date: Tue Jan 16 5:22:53 PM PST 1996
- X-Newsreader: Forte Agent .99c/16.141
-
- Robert Zook <lalaith@inf.net> wrote:
-
- |>Chris Kemp <chrisk@paladn.com> wrote:
- |>>Is there a library function which will make this determination
- |>>for me, or must I make up one of my own with somthing like
- |>>strtok?
- |>
- |>If atol returns an error the string does not contain a number.
-
- You forgot to add one minor detail -- atol cannot return an error.
-
-
- Michael M Rubenstein
-